﻿
#pragma once

#include <QObject>

class DirMonitor : public QObject
{
    Q_OBJECT
public:
    explicit DirMonitor(QObject *parent = nullptr);
    virtual ~DirMonitor() override;

    virtual void SetRootDirPath(const QString &path) = 0;

Q_SIGNALS:
    void FileClosed(const QString &path);
    void FileMovedOut(const QString &path);
    void FileMovedIn(const QString &path);
    void FileCreated(const QString &path);
    void FileDeleted(const QString &path);
};
